home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 3469 < prev    next >
Encoding:
Text File  |  1996-08-05  |  2.1 KB  |  52 lines

  1. Newsgroups: comp.sys.sun.admin,comp.sys.unix,comp.lang.c
  2. Path: uu4news.netcom.com!zodiac!szh
  3. From: szh@zcon.com (Syed Zaeem Hosain)
  4. Subject: Re: Yet more GCC 2.7.2 problems (SunOS 4).  Memmove is missing.
  5. Message-ID: <1996Jan29.052722.1299@zcon.com>
  6. Sender: szh@zcon.com (Syed Zaeem Hosain)
  7. Nntp-Posting-Host: zodiac
  8. Reply-To: szh@zcon.com
  9. Organization: Z Consulting Group
  10. References: <1996Jan27.072428.17415@zcon.com>
  11. Date: Mon, 29 Jan 1996 05:27:22 GMT
  12.  
  13. In article <1996Jan27.072428.17415@zcon.com>, szh@zcon.com (Syed Zaeem Hosain) writes:
  14. >In article <310959EB.41C6@llnl.gov>, Sean Ahern <ahern@llnl.gov> writes:
  15. >>Just to let you know what OS I'm on, uname -a gives me this:
  16. >>SunOS spear.lln 4.1.3_U1 1 sun4c
  17. >>
  18. >>I've compiled and installed GCC 2.7.2 on this machine, but I've noticed that
  19. >>I'm missing something important.  The memmove call is missing, it seems.  I get
  20. >>unresolved references when I attempt to compile code that uses memmove.
  21. >>
  22. >>    gcc -o foo foo.c -ldl
  23. >>    ld: Undefined symbol 
  24. >>       _memmove 
  25. >>
  26. >>Looking around the configuration for sun and the source code for gcc would lead
  27. >>me to believe that memmove should be in the libgcc.a libraries, but I can't
  28. >>seem to find it.  I also can't seem to find anything mentioning this on the Web
  29. >>or in any FAQ.
  30. >>
  31. >>Does anyone know what I might be doing wrong here?
  32. >
  33. >Your question is answered in the FAQ. Please get it from rtfm.mit.edu
  34. >and look at question 13.24 and its answer (certainly the part that
  35. >begins with "Contrariwise, ...").
  36. >
  37. >Note that the arguments to the two functions described are slightly
  38. >different ... so write your "translator" macro carefully!       :-)
  39.  
  40. And, of course, I meant the comp.lang.c FAQ. This question was posted
  41. to more than one newsgroup and I failed to see that the first time I
  42. responded to it. Sorry about that!
  43.  
  44.                                 Z
  45.  
  46.  
  47. -- 
  48. -------------------------------------------------------------------------
  49. | Syed Zaeem Hosain          P. O. Box 610097            (408) 441-7021 |
  50. | Z Consulting Group        San Jose, CA 95161             szh@zcon.com |
  51. -------------------------------------------------------------------------
  52.